3.1.94 \(\int x^2 (A+B x) (b x+c x^2)^{5/2} \, dx\) [94]

3.1.94.1 Optimal result
3.1.94.2 Mathematica [A] (verified)
3.1.94.3 Rubi [A] (verified)
3.1.94.4 Maple [A] (verified)
3.1.94.5 Fricas [A] (verification not implemented)
3.1.94.6 Sympy [B] (verification not implemented)
3.1.94.7 Maxima [A] (verification not implemented)
3.1.94.8 Giac [A] (verification not implemented)
3.1.94.9 Mupad [F(-1)]

3.1.94.1 Optimal result

Integrand size = 22, antiderivative size = 241 \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=-\frac {5 b^6 (11 b B-18 A c) (b+2 c x) \sqrt {b x+c x^2}}{32768 c^6}+\frac {5 b^4 (11 b B-18 A c) (b+2 c x) \left (b x+c x^2\right )^{3/2}}{12288 c^5}-\frac {b^2 (11 b B-18 A c) (b+2 c x) \left (b x+c x^2\right )^{5/2}}{768 c^4}+\frac {b (11 b B-18 A c) \left (b x+c x^2\right )^{7/2}}{224 c^3}-\frac {(11 b B-18 A c) x \left (b x+c x^2\right )^{7/2}}{144 c^2}+\frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}+\frac {5 b^8 (11 b B-18 A c) \text {arctanh}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{32768 c^{13/2}} \]

output
5/12288*b^4*(-18*A*c+11*B*b)*(2*c*x+b)*(c*x^2+b*x)^(3/2)/c^5-1/768*b^2*(-1 
8*A*c+11*B*b)*(2*c*x+b)*(c*x^2+b*x)^(5/2)/c^4+1/224*b*(-18*A*c+11*B*b)*(c* 
x^2+b*x)^(7/2)/c^3-1/144*(-18*A*c+11*B*b)*x*(c*x^2+b*x)^(7/2)/c^2+1/9*B*x^ 
2*(c*x^2+b*x)^(7/2)/c+5/32768*b^8*(-18*A*c+11*B*b)*arctanh(x*c^(1/2)/(c*x^ 
2+b*x)^(1/2))/c^(13/2)-5/32768*b^6*(-18*A*c+11*B*b)*(2*c*x+b)*(c*x^2+b*x)^ 
(1/2)/c^6
 
3.1.94.2 Mathematica [A] (verified)

Time = 1.59 (sec) , antiderivative size = 277, normalized size of antiderivative = 1.15 \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=\frac {\sqrt {x} \sqrt {b+c x} \left (\sqrt {c} \sqrt {x} \sqrt {b+c x} \left (-3465 b^8 B+256 b^3 c^5 x^4 (9 A+5 B x)+28672 c^8 x^7 (9 A+8 B x)+144 b^5 c^3 x^2 (21 A+11 B x)+210 b^7 c (27 A+11 B x)-84 b^6 c^2 x (45 A+22 B x)-32 b^4 c^4 x^3 (81 A+44 B x)+1536 b^2 c^6 x^5 (243 A+206 B x)+2048 b c^7 x^6 (297 A+259 B x)\right )+11340 A b^8 c \text {arctanh}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {b}-\sqrt {b+c x}}\right )+6930 b^9 B \text {arctanh}\left (\frac {\sqrt {c} \sqrt {x}}{-\sqrt {b}+\sqrt {b+c x}}\right )\right )}{2064384 c^{13/2} \sqrt {x (b+c x)}} \]

input
Integrate[x^2*(A + B*x)*(b*x + c*x^2)^(5/2),x]
 
output
(Sqrt[x]*Sqrt[b + c*x]*(Sqrt[c]*Sqrt[x]*Sqrt[b + c*x]*(-3465*b^8*B + 256*b 
^3*c^5*x^4*(9*A + 5*B*x) + 28672*c^8*x^7*(9*A + 8*B*x) + 144*b^5*c^3*x^2*( 
21*A + 11*B*x) + 210*b^7*c*(27*A + 11*B*x) - 84*b^6*c^2*x*(45*A + 22*B*x) 
- 32*b^4*c^4*x^3*(81*A + 44*B*x) + 1536*b^2*c^6*x^5*(243*A + 206*B*x) + 20 
48*b*c^7*x^6*(297*A + 259*B*x)) + 11340*A*b^8*c*ArcTanh[(Sqrt[c]*Sqrt[x])/ 
(Sqrt[b] - Sqrt[b + c*x])] + 6930*b^9*B*ArcTanh[(Sqrt[c]*Sqrt[x])/(-Sqrt[b 
] + Sqrt[b + c*x])]))/(2064384*c^(13/2)*Sqrt[x*(b + c*x)])
 
3.1.94.3 Rubi [A] (verified)

Time = 0.39 (sec) , antiderivative size = 234, normalized size of antiderivative = 0.97, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {1221, 1134, 1160, 1087, 1087, 1087, 1091, 219}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx\)

\(\Big \downarrow \) 1221

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \int x^2 \left (c x^2+b x\right )^{5/2}dx}{18 c}\)

\(\Big \downarrow \) 1134

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \int x \left (c x^2+b x\right )^{5/2}dx}{16 c}\right )}{18 c}\)

\(\Big \downarrow \) 1160

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \left (\frac {\left (b x+c x^2\right )^{7/2}}{7 c}-\frac {b \int \left (c x^2+b x\right )^{5/2}dx}{2 c}\right )}{16 c}\right )}{18 c}\)

\(\Big \downarrow \) 1087

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \left (\frac {\left (b x+c x^2\right )^{7/2}}{7 c}-\frac {b \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{5/2}}{12 c}-\frac {5 b^2 \int \left (c x^2+b x\right )^{3/2}dx}{24 c}\right )}{2 c}\right )}{16 c}\right )}{18 c}\)

\(\Big \downarrow \) 1087

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \left (\frac {\left (b x+c x^2\right )^{7/2}}{7 c}-\frac {b \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{5/2}}{12 c}-\frac {5 b^2 \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{3/2}}{8 c}-\frac {3 b^2 \int \sqrt {c x^2+b x}dx}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}\right )}{18 c}\)

\(\Big \downarrow \) 1087

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \left (\frac {\left (b x+c x^2\right )^{7/2}}{7 c}-\frac {b \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{5/2}}{12 c}-\frac {5 b^2 \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{3/2}}{8 c}-\frac {3 b^2 \left (\frac {(b+2 c x) \sqrt {b x+c x^2}}{4 c}-\frac {b^2 \int \frac {1}{\sqrt {c x^2+b x}}dx}{8 c}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}\right )}{18 c}\)

\(\Big \downarrow \) 1091

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \left (\frac {\left (b x+c x^2\right )^{7/2}}{7 c}-\frac {b \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{5/2}}{12 c}-\frac {5 b^2 \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{3/2}}{8 c}-\frac {3 b^2 \left (\frac {(b+2 c x) \sqrt {b x+c x^2}}{4 c}-\frac {b^2 \int \frac {1}{1-\frac {c x^2}{c x^2+b x}}d\frac {x}{\sqrt {c x^2+b x}}}{4 c}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}\right )}{18 c}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {B x^2 \left (b x+c x^2\right )^{7/2}}{9 c}-\frac {(11 b B-18 A c) \left (\frac {x \left (b x+c x^2\right )^{7/2}}{8 c}-\frac {9 b \left (\frac {\left (b x+c x^2\right )^{7/2}}{7 c}-\frac {b \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{5/2}}{12 c}-\frac {5 b^2 \left (\frac {(b+2 c x) \left (b x+c x^2\right )^{3/2}}{8 c}-\frac {3 b^2 \left (\frac {(b+2 c x) \sqrt {b x+c x^2}}{4 c}-\frac {b^2 \text {arctanh}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{4 c^{3/2}}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}\right )}{18 c}\)

input
Int[x^2*(A + B*x)*(b*x + c*x^2)^(5/2),x]
 
output
(B*x^2*(b*x + c*x^2)^(7/2))/(9*c) - ((11*b*B - 18*A*c)*((x*(b*x + c*x^2)^( 
7/2))/(8*c) - (9*b*((b*x + c*x^2)^(7/2)/(7*c) - (b*(((b + 2*c*x)*(b*x + c* 
x^2)^(5/2))/(12*c) - (5*b^2*(((b + 2*c*x)*(b*x + c*x^2)^(3/2))/(8*c) - (3* 
b^2*(((b + 2*c*x)*Sqrt[b*x + c*x^2])/(4*c) - (b^2*ArcTanh[(Sqrt[c]*x)/Sqrt 
[b*x + c*x^2]])/(4*c^(3/2))))/(16*c)))/(24*c)))/(2*c)))/(16*c)))/(18*c)
 

3.1.94.3.1 Defintions of rubi rules used

rule 219
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* 
ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt 
Q[a, 0] || LtQ[b, 0])
 

rule 1087
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(b + 2*c*x) 
*((a + b*x + c*x^2)^p/(2*c*(2*p + 1))), x] - Simp[p*((b^2 - 4*a*c)/(2*c*(2* 
p + 1)))   Int[(a + b*x + c*x^2)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && 
GtQ[p, 0] && (IntegerQ[4*p] || IntegerQ[3*p])
 

rule 1091
Int[1/Sqrt[(b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Simp[2   Subst[Int[1/(1 
 - c*x^2), x], x, x/Sqrt[b*x + c*x^2]], x] /; FreeQ[{b, c}, x]
 

rule 1134
Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_S 
ymbol] :> Simp[e*(d + e*x)^(m - 1)*((a + b*x + c*x^2)^(p + 1)/(c*(m + 2*p + 
 1))), x] + Simp[(m + p)*((2*c*d - b*e)/(c*(m + 2*p + 1)))   Int[(d + e*x)^ 
(m - 1)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[ 
c*d^2 - b*d*e + a*e^2, 0] && GtQ[m, 1] && NeQ[m + 2*p + 1, 0] && IntegerQ[2 
*p]
 

rule 1160
Int[((d_.) + (e_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol 
] :> Simp[e*((a + b*x + c*x^2)^(p + 1)/(2*c*(p + 1))), x] + Simp[(2*c*d - b 
*e)/(2*c)   Int[(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] 
 && NeQ[p, -1]
 

rule 1221
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c 
_.)*(x_)^2)^(p_), x_Symbol] :> Simp[g*(d + e*x)^m*((a + b*x + c*x^2)^(p + 1 
)/(c*(m + 2*p + 2))), x] + Simp[(m*(g*(c*d - b*e) + c*e*f) + e*(p + 1)*(2*c 
*f - b*g))/(c*e*(m + 2*p + 2))   Int[(d + e*x)^m*(a + b*x + c*x^2)^p, x], x 
] /; FreeQ[{a, b, c, d, e, f, g, m, p}, x] && EqQ[c*d^2 - b*d*e + a*e^2, 0] 
 && NeQ[m + 2*p + 2, 0]
 
3.1.94.4 Maple [A] (verified)

Time = 0.15 (sec) , antiderivative size = 241, normalized size of antiderivative = 1.00

method result size
risch \(\frac {\left (229376 B \,c^{8} x^{8}+258048 A \,c^{8} x^{7}+530432 B b \,c^{7} x^{7}+608256 A b \,c^{7} x^{6}+316416 B \,b^{2} c^{6} x^{6}+373248 A \,b^{2} c^{6} x^{5}+1280 B \,b^{3} c^{5} x^{5}+2304 A \,b^{3} c^{5} x^{4}-1408 B \,b^{4} c^{4} x^{4}-2592 A \,b^{4} c^{4} x^{3}+1584 B \,b^{5} c^{3} x^{3}+3024 A \,b^{5} c^{3} x^{2}-1848 B \,b^{6} c^{2} x^{2}-3780 A \,b^{6} c^{2} x +2310 B \,b^{7} c x +5670 A \,b^{7} c -3465 B \,b^{8}\right ) x \left (c x +b \right )}{2064384 c^{6} \sqrt {x \left (c x +b \right )}}-\frac {5 b^{8} \left (18 A c -11 B b \right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{65536 c^{\frac {13}{2}}}\) \(241\)
default \(B \left (\frac {x^{2} \left (c \,x^{2}+b x \right )^{\frac {7}{2}}}{9 c}-\frac {11 b \left (\frac {x \left (c \,x^{2}+b x \right )^{\frac {7}{2}}}{8 c}-\frac {9 b \left (\frac {\left (c \,x^{2}+b x \right )^{\frac {7}{2}}}{7 c}-\frac {b \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{12 c}-\frac {5 b^{2} \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x \right )^{\frac {3}{2}}}{8 c}-\frac {3 b^{2} \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x}}{4 c}-\frac {b^{2} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}\right )}{18 c}\right )+A \left (\frac {x \left (c \,x^{2}+b x \right )^{\frac {7}{2}}}{8 c}-\frac {9 b \left (\frac {\left (c \,x^{2}+b x \right )^{\frac {7}{2}}}{7 c}-\frac {b \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{12 c}-\frac {5 b^{2} \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x \right )^{\frac {3}{2}}}{8 c}-\frac {3 b^{2} \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x}}{4 c}-\frac {b^{2} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}\right )\) \(360\)

input
int(x^2*(B*x+A)*(c*x^2+b*x)^(5/2),x,method=_RETURNVERBOSE)
 
output
1/2064384/c^6*(229376*B*c^8*x^8+258048*A*c^8*x^7+530432*B*b*c^7*x^7+608256 
*A*b*c^7*x^6+316416*B*b^2*c^6*x^6+373248*A*b^2*c^6*x^5+1280*B*b^3*c^5*x^5+ 
2304*A*b^3*c^5*x^4-1408*B*b^4*c^4*x^4-2592*A*b^4*c^4*x^3+1584*B*b^5*c^3*x^ 
3+3024*A*b^5*c^3*x^2-1848*B*b^6*c^2*x^2-3780*A*b^6*c^2*x+2310*B*b^7*c*x+56 
70*A*b^7*c-3465*B*b^8)*x*(c*x+b)/(x*(c*x+b))^(1/2)-5/65536*b^8*(18*A*c-11* 
B*b)/c^(13/2)*ln((1/2*b+c*x)/c^(1/2)+(c*x^2+b*x)^(1/2))
 
3.1.94.5 Fricas [A] (verification not implemented)

Time = 0.27 (sec) , antiderivative size = 496, normalized size of antiderivative = 2.06 \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=\left [-\frac {315 \, {\left (11 \, B b^{9} - 18 \, A b^{8} c\right )} \sqrt {c} \log \left (2 \, c x + b - 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) - 2 \, {\left (229376 \, B c^{9} x^{8} - 3465 \, B b^{8} c + 5670 \, A b^{7} c^{2} + 14336 \, {\left (37 \, B b c^{8} + 18 \, A c^{9}\right )} x^{7} + 3072 \, {\left (103 \, B b^{2} c^{7} + 198 \, A b c^{8}\right )} x^{6} + 256 \, {\left (5 \, B b^{3} c^{6} + 1458 \, A b^{2} c^{7}\right )} x^{5} - 128 \, {\left (11 \, B b^{4} c^{5} - 18 \, A b^{3} c^{6}\right )} x^{4} + 144 \, {\left (11 \, B b^{5} c^{4} - 18 \, A b^{4} c^{5}\right )} x^{3} - 168 \, {\left (11 \, B b^{6} c^{3} - 18 \, A b^{5} c^{4}\right )} x^{2} + 210 \, {\left (11 \, B b^{7} c^{2} - 18 \, A b^{6} c^{3}\right )} x\right )} \sqrt {c x^{2} + b x}}{4128768 \, c^{7}}, -\frac {315 \, {\left (11 \, B b^{9} - 18 \, A b^{8} c\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right ) - {\left (229376 \, B c^{9} x^{8} - 3465 \, B b^{8} c + 5670 \, A b^{7} c^{2} + 14336 \, {\left (37 \, B b c^{8} + 18 \, A c^{9}\right )} x^{7} + 3072 \, {\left (103 \, B b^{2} c^{7} + 198 \, A b c^{8}\right )} x^{6} + 256 \, {\left (5 \, B b^{3} c^{6} + 1458 \, A b^{2} c^{7}\right )} x^{5} - 128 \, {\left (11 \, B b^{4} c^{5} - 18 \, A b^{3} c^{6}\right )} x^{4} + 144 \, {\left (11 \, B b^{5} c^{4} - 18 \, A b^{4} c^{5}\right )} x^{3} - 168 \, {\left (11 \, B b^{6} c^{3} - 18 \, A b^{5} c^{4}\right )} x^{2} + 210 \, {\left (11 \, B b^{7} c^{2} - 18 \, A b^{6} c^{3}\right )} x\right )} \sqrt {c x^{2} + b x}}{2064384 \, c^{7}}\right ] \]

input
integrate(x^2*(B*x+A)*(c*x^2+b*x)^(5/2),x, algorithm="fricas")
 
output
[-1/4128768*(315*(11*B*b^9 - 18*A*b^8*c)*sqrt(c)*log(2*c*x + b - 2*sqrt(c* 
x^2 + b*x)*sqrt(c)) - 2*(229376*B*c^9*x^8 - 3465*B*b^8*c + 5670*A*b^7*c^2 
+ 14336*(37*B*b*c^8 + 18*A*c^9)*x^7 + 3072*(103*B*b^2*c^7 + 198*A*b*c^8)*x 
^6 + 256*(5*B*b^3*c^6 + 1458*A*b^2*c^7)*x^5 - 128*(11*B*b^4*c^5 - 18*A*b^3 
*c^6)*x^4 + 144*(11*B*b^5*c^4 - 18*A*b^4*c^5)*x^3 - 168*(11*B*b^6*c^3 - 18 
*A*b^5*c^4)*x^2 + 210*(11*B*b^7*c^2 - 18*A*b^6*c^3)*x)*sqrt(c*x^2 + b*x))/ 
c^7, -1/2064384*(315*(11*B*b^9 - 18*A*b^8*c)*sqrt(-c)*arctan(sqrt(c*x^2 + 
b*x)*sqrt(-c)/(c*x)) - (229376*B*c^9*x^8 - 3465*B*b^8*c + 5670*A*b^7*c^2 + 
 14336*(37*B*b*c^8 + 18*A*c^9)*x^7 + 3072*(103*B*b^2*c^7 + 198*A*b*c^8)*x^ 
6 + 256*(5*B*b^3*c^6 + 1458*A*b^2*c^7)*x^5 - 128*(11*B*b^4*c^5 - 18*A*b^3* 
c^6)*x^4 + 144*(11*B*b^5*c^4 - 18*A*b^4*c^5)*x^3 - 168*(11*B*b^6*c^3 - 18* 
A*b^5*c^4)*x^2 + 210*(11*B*b^7*c^2 - 18*A*b^6*c^3)*x)*sqrt(c*x^2 + b*x))/c 
^7]
 
3.1.94.6 Sympy [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 741 vs. \(2 (235) = 470\).

Time = 0.59 (sec) , antiderivative size = 741, normalized size of antiderivative = 3.07 \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=\begin {cases} - \frac {63 b^{5} \left (A b^{3} - \frac {11 b \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{12 c}\right ) \left (\begin {cases} \frac {\log {\left (b + 2 \sqrt {c} \sqrt {b x + c x^{2}} + 2 c x \right )}}{\sqrt {c}} & \text {for}\: \frac {b^{2}}{c} \neq 0 \\\frac {\left (\frac {b}{2 c} + x\right ) \log {\left (\frac {b}{2 c} + x \right )}}{\sqrt {c \left (\frac {b}{2 c} + x\right )^{2}}} & \text {otherwise} \end {cases}\right )}{256 c^{5}} + \sqrt {b x + c x^{2}} \left (\frac {B c^{2} x^{8}}{9} + \frac {63 b^{4} \left (A b^{3} - \frac {11 b \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{12 c}\right )}{128 c^{5}} - \frac {21 b^{3} x \left (A b^{3} - \frac {11 b \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{12 c}\right )}{64 c^{4}} + \frac {21 b^{2} x^{2} \left (A b^{3} - \frac {11 b \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{12 c}\right )}{80 c^{3}} - \frac {9 b x^{3} \left (A b^{3} - \frac {11 b \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{12 c}\right )}{40 c^{2}} + \frac {x^{7} \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{8 c} + \frac {x^{6} \cdot \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{7 c} + \frac {x^{5} \cdot \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{6 c} + \frac {x^{4} \left (A b^{3} - \frac {11 b \left (3 A b^{2} c + B b^{3} - \frac {13 b \left (3 A b c^{2} + 3 B b^{2} c - \frac {15 b \left (A c^{3} + \frac {37 B b c^{2}}{18}\right )}{16 c}\right )}{14 c}\right )}{12 c}\right )}{5 c}\right ) & \text {for}\: c \neq 0 \\\frac {2 \left (\frac {A \left (b x\right )^{\frac {11}{2}}}{11} + \frac {B \left (b x\right )^{\frac {13}{2}}}{13 b}\right )}{b^{3}} & \text {for}\: b \neq 0 \\0 & \text {otherwise} \end {cases} \]

input
integrate(x**2*(B*x+A)*(c*x**2+b*x)**(5/2),x)
 
output
Piecewise((-63*b**5*(A*b**3 - 11*b*(3*A*b**2*c + B*b**3 - 13*b*(3*A*b*c**2 
 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B*b*c**2/18)/(16*c))/(14*c))/(12*c))*Pie 
cewise((log(b + 2*sqrt(c)*sqrt(b*x + c*x**2) + 2*c*x)/sqrt(c), Ne(b**2/c, 
0)), ((b/(2*c) + x)*log(b/(2*c) + x)/sqrt(c*(b/(2*c) + x)**2), True))/(256 
*c**5) + sqrt(b*x + c*x**2)*(B*c**2*x**8/9 + 63*b**4*(A*b**3 - 11*b*(3*A*b 
**2*c + B*b**3 - 13*b*(3*A*b*c**2 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B*b*c** 
2/18)/(16*c))/(14*c))/(12*c))/(128*c**5) - 21*b**3*x*(A*b**3 - 11*b*(3*A*b 
**2*c + B*b**3 - 13*b*(3*A*b*c**2 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B*b*c** 
2/18)/(16*c))/(14*c))/(12*c))/(64*c**4) + 21*b**2*x**2*(A*b**3 - 11*b*(3*A 
*b**2*c + B*b**3 - 13*b*(3*A*b*c**2 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B*b*c 
**2/18)/(16*c))/(14*c))/(12*c))/(80*c**3) - 9*b*x**3*(A*b**3 - 11*b*(3*A*b 
**2*c + B*b**3 - 13*b*(3*A*b*c**2 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B*b*c** 
2/18)/(16*c))/(14*c))/(12*c))/(40*c**2) + x**7*(A*c**3 + 37*B*b*c**2/18)/( 
8*c) + x**6*(3*A*b*c**2 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B*b*c**2/18)/(16* 
c))/(7*c) + x**5*(3*A*b**2*c + B*b**3 - 13*b*(3*A*b*c**2 + 3*B*b**2*c - 15 
*b*(A*c**3 + 37*B*b*c**2/18)/(16*c))/(14*c))/(6*c) + x**4*(A*b**3 - 11*b*( 
3*A*b**2*c + B*b**3 - 13*b*(3*A*b*c**2 + 3*B*b**2*c - 15*b*(A*c**3 + 37*B* 
b*c**2/18)/(16*c))/(14*c))/(12*c))/(5*c)), Ne(c, 0)), (2*(A*(b*x)**(11/2)/ 
11 + B*(b*x)**(13/2)/(13*b))/b**3, Ne(b, 0)), (0, True))
 
3.1.94.7 Maxima [A] (verification not implemented)

Time = 0.18 (sec) , antiderivative size = 406, normalized size of antiderivative = 1.68 \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=\frac {{\left (c x^{2} + b x\right )}^{\frac {7}{2}} B x^{2}}{9 \, c} - \frac {55 \, \sqrt {c x^{2} + b x} B b^{7} x}{16384 \, c^{5}} + \frac {55 \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} B b^{5} x}{6144 \, c^{4}} + \frac {45 \, \sqrt {c x^{2} + b x} A b^{6} x}{8192 \, c^{4}} - \frac {11 \, {\left (c x^{2} + b x\right )}^{\frac {5}{2}} B b^{3} x}{384 \, c^{3}} - \frac {15 \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} A b^{4} x}{1024 \, c^{3}} - \frac {11 \, {\left (c x^{2} + b x\right )}^{\frac {7}{2}} B b x}{144 \, c^{2}} + \frac {3 \, {\left (c x^{2} + b x\right )}^{\frac {5}{2}} A b^{2} x}{64 \, c^{2}} + \frac {{\left (c x^{2} + b x\right )}^{\frac {7}{2}} A x}{8 \, c} + \frac {55 \, B b^{9} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{65536 \, c^{\frac {13}{2}}} - \frac {45 \, A b^{8} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{32768 \, c^{\frac {11}{2}}} - \frac {55 \, \sqrt {c x^{2} + b x} B b^{8}}{32768 \, c^{6}} + \frac {55 \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} B b^{6}}{12288 \, c^{5}} + \frac {45 \, \sqrt {c x^{2} + b x} A b^{7}}{16384 \, c^{5}} - \frac {11 \, {\left (c x^{2} + b x\right )}^{\frac {5}{2}} B b^{4}}{768 \, c^{4}} - \frac {15 \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} A b^{5}}{2048 \, c^{4}} + \frac {11 \, {\left (c x^{2} + b x\right )}^{\frac {7}{2}} B b^{2}}{224 \, c^{3}} + \frac {3 \, {\left (c x^{2} + b x\right )}^{\frac {5}{2}} A b^{3}}{128 \, c^{3}} - \frac {9 \, {\left (c x^{2} + b x\right )}^{\frac {7}{2}} A b}{112 \, c^{2}} \]

input
integrate(x^2*(B*x+A)*(c*x^2+b*x)^(5/2),x, algorithm="maxima")
 
output
1/9*(c*x^2 + b*x)^(7/2)*B*x^2/c - 55/16384*sqrt(c*x^2 + b*x)*B*b^7*x/c^5 + 
 55/6144*(c*x^2 + b*x)^(3/2)*B*b^5*x/c^4 + 45/8192*sqrt(c*x^2 + b*x)*A*b^6 
*x/c^4 - 11/384*(c*x^2 + b*x)^(5/2)*B*b^3*x/c^3 - 15/1024*(c*x^2 + b*x)^(3 
/2)*A*b^4*x/c^3 - 11/144*(c*x^2 + b*x)^(7/2)*B*b*x/c^2 + 3/64*(c*x^2 + b*x 
)^(5/2)*A*b^2*x/c^2 + 1/8*(c*x^2 + b*x)^(7/2)*A*x/c + 55/65536*B*b^9*log(2 
*c*x + b + 2*sqrt(c*x^2 + b*x)*sqrt(c))/c^(13/2) - 45/32768*A*b^8*log(2*c* 
x + b + 2*sqrt(c*x^2 + b*x)*sqrt(c))/c^(11/2) - 55/32768*sqrt(c*x^2 + b*x) 
*B*b^8/c^6 + 55/12288*(c*x^2 + b*x)^(3/2)*B*b^6/c^5 + 45/16384*sqrt(c*x^2 
+ b*x)*A*b^7/c^5 - 11/768*(c*x^2 + b*x)^(5/2)*B*b^4/c^4 - 15/2048*(c*x^2 + 
 b*x)^(3/2)*A*b^5/c^4 + 11/224*(c*x^2 + b*x)^(7/2)*B*b^2/c^3 + 3/128*(c*x^ 
2 + b*x)^(5/2)*A*b^3/c^3 - 9/112*(c*x^2 + b*x)^(7/2)*A*b/c^2
 
3.1.94.8 Giac [A] (verification not implemented)

Time = 0.28 (sec) , antiderivative size = 280, normalized size of antiderivative = 1.16 \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=\frac {1}{2064384} \, \sqrt {c x^{2} + b x} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, {\left (2 \, {\left (4 \, {\left (14 \, {\left (16 \, B c^{2} x + \frac {37 \, B b c^{9} + 18 \, A c^{10}}{c^{8}}\right )} x + \frac {3 \, {\left (103 \, B b^{2} c^{8} + 198 \, A b c^{9}\right )}}{c^{8}}\right )} x + \frac {5 \, B b^{3} c^{7} + 1458 \, A b^{2} c^{8}}{c^{8}}\right )} x - \frac {11 \, B b^{4} c^{6} - 18 \, A b^{3} c^{7}}{c^{8}}\right )} x + \frac {9 \, {\left (11 \, B b^{5} c^{5} - 18 \, A b^{4} c^{6}\right )}}{c^{8}}\right )} x - \frac {21 \, {\left (11 \, B b^{6} c^{4} - 18 \, A b^{5} c^{5}\right )}}{c^{8}}\right )} x + \frac {105 \, {\left (11 \, B b^{7} c^{3} - 18 \, A b^{6} c^{4}\right )}}{c^{8}}\right )} x - \frac {315 \, {\left (11 \, B b^{8} c^{2} - 18 \, A b^{7} c^{3}\right )}}{c^{8}}\right )} - \frac {5 \, {\left (11 \, B b^{9} - 18 \, A b^{8} c\right )} \log \left ({\left | 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} + b \right |}\right )}{65536 \, c^{\frac {13}{2}}} \]

input
integrate(x^2*(B*x+A)*(c*x^2+b*x)^(5/2),x, algorithm="giac")
 
output
1/2064384*sqrt(c*x^2 + b*x)*(2*(4*(2*(8*(2*(4*(14*(16*B*c^2*x + (37*B*b*c^ 
9 + 18*A*c^10)/c^8)*x + 3*(103*B*b^2*c^8 + 198*A*b*c^9)/c^8)*x + (5*B*b^3* 
c^7 + 1458*A*b^2*c^8)/c^8)*x - (11*B*b^4*c^6 - 18*A*b^3*c^7)/c^8)*x + 9*(1 
1*B*b^5*c^5 - 18*A*b^4*c^6)/c^8)*x - 21*(11*B*b^6*c^4 - 18*A*b^5*c^5)/c^8) 
*x + 105*(11*B*b^7*c^3 - 18*A*b^6*c^4)/c^8)*x - 315*(11*B*b^8*c^2 - 18*A*b 
^7*c^3)/c^8) - 5/65536*(11*B*b^9 - 18*A*b^8*c)*log(abs(2*(sqrt(c)*x - sqrt 
(c*x^2 + b*x))*sqrt(c) + b))/c^(13/2)
 
3.1.94.9 Mupad [F(-1)]

Timed out. \[ \int x^2 (A+B x) \left (b x+c x^2\right )^{5/2} \, dx=\int x^2\,{\left (c\,x^2+b\,x\right )}^{5/2}\,\left (A+B\,x\right ) \,d x \]

input
int(x^2*(b*x + c*x^2)^(5/2)*(A + B*x),x)
 
output
int(x^2*(b*x + c*x^2)^(5/2)*(A + B*x), x)